﻿namespace CadLongPipeMod.Models;

public enum ClPointType
{
    KeyPoint = 0,
    CenterPoint = 1,
}

public class ClPoint
{
    public int  PointIndex { get; set; }
    public double X { get; set; }
    /// <summary>
    /// 方向 向上
    /// </summary>
    public double Y { get; set; }
    public double Z { get; set; }

    public ClPointType Type { get; set; }
}


public class ClLine
{
    public string Name { get; set; } = "";
    public ClPoint Start { get; set; }
    public ClPoint End { get; set; }
    public ClVector Vector { get; set; }

}

public class ClVector
{
    public double VX { get; set; }
    public double VY { get; set; }
    public double VZ { get; set; }
}